<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <!--<meta http-equiv="Cache-Control" content="no-siteapp"/>-->
    <link rel="Bookmark" href="imgs/bai.ico"/>
    <link rel="Shortcut Icon" href="imgs/bai.ico"/>
    <title>稍等…</title>
    <!--<link rel="stylesheet" type="text/css" href="css/skin.css" id="skin"/>-->
    <style type="text/css">
        body { margin: 0; padding: 0; background: #eee; }
        #body { max-width: 500px; min-width: 300px; background: #fff; text-align: center; }
        #load { margin: 0 auto; padding-top: 20px; width: 100px; height: 100px; background: #ccc; border-radius: 5px; color: #fff; }
        img { width: 60px; height: 60px; }
    </style>
</head>
<body>
    <div id="body">
        <div style="height: 30%;"></div>
        <div id="load">
            <img src="imgs/load.gif"/><br/>
            稍等…
        </div>
    </div>
</body>
</html>


<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/view.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript">
    //var cw = document.body.clientWidth;
    //var ch = document.body.clientHeight;
    //var ch = window.screen.height;
    var cw = document.documentElement.clientWidth;
    var ch = document.documentElement.clientHeight;
    var code = getParamByUrl('code');
    (function () {
        console.log(cw,ch);
        $('#body').css('width', cw).css('height', ch);
        userInfo(); //登录信息
        qrEmpty();
    })();
</script>